package com.ruoyi.common.core.domain;

public enum ErrorCode {

    INVALID_PARAMETERS(10000, "参数异常，请稍后重试"),
    DUPLICATE_SUBMISSION(10001, "请勿重复提交相同内容哦~"),
    CONFIG_NOT_FOUND(10008, "不好，配置文件不见了"),

    NOT_LOGIN(10002, "账号未登录"),

    NOT_VIP(10012, "开个会员查看吧"),
    SHARE_ALREADY_OPEN(10013, "你今天已经帮好友打助力过了哦"),
    SHARE_ALREADY_OPEN_ZYK(10013, "你已帮助好友成功过\n不可再参与本次助力"),
    SHARE_OPEN_LIMIT(10013, "你已达到给好友助力的最大次数了哦"),
    DAY_LIMIT(10014, "已达到今日最大次数，请明天再来吧"),
    MOBILE_ALREADY_EXISTS(10015, "手机号已与其他微信号绑定"),
    CODE_ALREADY_EXISTS(10016, "代码已存在"),

    SENSITIVE_KEY(10016, "包含敏感词，请重新编辑后提交"),

    NOT_FOUND(10017, "数据可能已被删除，请稍后重试"),

    ALREADY_AGAINST(10018, "已经点踩过哦"),
    ALREADY_AGREE(10019, "已经点赞过哦"),

    ERR_STATE(10020, "当前信息状态可能已被修改哦"),
    TIMES_NOT_ENOUGH(10021, "当前次数不够了哦"),
    ALREADY_EXISTS(10022, "数据已存在，请勿重复提交哦"),


    YOUZAN_TID_NOT_EXISTS(10023, "该订单号没有查到可兑换订单喔，请重新检查订单号是否输入错误喔～"),
    YOUZAN_MOBILE_NOT_EXISTS(10023, "该手机号没有查到可兑换订单喔，请重新检查订单，看是否为“收货地址手机号”喔～"),

    YOUZAN_TID_FORMAT_ERR(10023, "你的订单号格式输入有问题喔，订单号格式是“E+23位数字”，请核对后再试～"),
    YOUZAN_MOBILE_FORMAT_ERR(10023, "你的手机号格式输入有问题喔，手机号是11位哒，请重新输入～"),

    YOUZAN_TID_NOT_GROUP(10023, "该手机号对应的订单还在\"拼团中\"，拼团购买成功之后才能解锁哦，点击\"查询订单\"按钮可查询～"),
    YOUZAN_MOBILE_NOT_GROUP(10023, "该订单号对应的订单还在\"拼团中\"，拼团购买成功之后才能解锁哦，点击\"查询订单\"按钮可查询～"),

    YOUZAN_TID_ALREADY_USED(10024, "兑换码已被使用哦"),
    YOUZAN_MOBILE_ALREADY_USED(10024, "兑换码/手机号已被使用哦"),
    ALREADY_ACTIVITED(10025, "账号已经激活过哦"),
    YOUZAN_MOBILE_NOT_FOUND(10026, "查询不到对应的订单，请稍后再试试看哦"),


    PROHIBITED_OPERATION(10027, "您已被禁止该操作，如有疑问，请联系客服处理"),

    ON_IN(10089, "抱歉，暂时不可用，晚点再来哦"),

    REQ_FREQUENT(88966, "请求太频繁，请稍后重试"),
    SUBMIT_FREQUENT(88967, "操作太频繁，请稍后重试哦~"),

    INVALID_CONTENT(10028, "内容异常，请检查后重新提交"),

    FORBIDDEN_COMMENT(10029, "您已被禁止评论！！"),
    FORBIDDEN_POST(10029, "您已被禁止发布动态哦~"),
    FORBIDDEN_USER(10029, "账号已注销~"),

    TOPIC_POST_DAY_LIMIT(10030, "超过该话题的每日最大动态数哦"),

    SIGN_ALREADY_EXISTS(10031, "今日已签到，请勿重复操作"),

    EXP_NOT_ENOUGH(10032, "当前金币不够了哦"),
    SUIM_INTERVIEW_STATE_ERR(10033, "当前状态不可修改哦"),
    SUIM_INTERVIEW_MODIFY_LIMIT(10034, "已达到修改次数上限哦"),

    CANDIDATE_NOT_FOUND(10035, "请先填写考生信息哦"),


    ASHORE_ALREADY_PROV(10038, "信息已审核通过，如需修改请直接联系客服哦"),

    MOBILE_ERR(10042, "手机号格式错误"),
    PASSWORD_ERR(10043, "新密码格式错误，密码长度应在8-32位，且至少包含大小写字母，数字，其他符号中的三种"),
    OLD_PASSWORD_ERR(10044, "旧密码错误，请检查后重新输入"),
    MOBILE_NOT_REGISTER(10045, "该手机号还未注册哦"),
    NOT_BIND_MOBILE(10045, "请先绑定手机号哦~"),


    DECRYPTION_FAILURE(10047, "登录失效，请重新点击授权~"),

    INVALID_TOKEN(10048, "非法token，请稍后重试"),


    COURSE_NOT_FOUND(10050, "课程不存在喏~"),
    COURSE_EXCHANGE_ERR(10051, "课程兑换失败，请联系客服处理~"),

    PHOTO_VIOLATIONS(10052, "图片违规，请换一张图片上传"),

    FORBIDDEN_REPLY_MSG(10053, "您已被禁止发言，如有疑问，请联系客服处理~"),

    COURSE_NOT_PAY(10054, "您尚兑换该课程，如兑换有问题，请联系客服处理哦~"),

    USER_IS_NOT_SIGN_IN(10035, "用户未登录！"),

    LOGIN_ERROR(10099, "用户信息异常，请使用手机号重新登录！"),

    VOC_ACTIVITED(10027, "词本已经激活过了哦！"),
    CLOCK_IN_OVER(10035, "打卡失败！"),
    USER_VOC_NOT_DEL(10036, "用户词本无法删除"),

    WORD_IS_HAVE(10096,"单词已经添加过了，请刷新一下"),
    HAVE_WORD_NOT_DEL(10097,"单词本内有单词，无法删除"),
    IS_USED_NOW(10098, "单词本正在使用，无法删除"),
    SYS_VOC_NOT_DEL(10099, "系统词本单词，无法删除"),


    NO_MOVE_TO_TARGET(10098,"无法移动"),
    ;

    private Integer code;
    private String desc;

    ErrorCode(Integer code, String desc){
        this.code = code;
        this.desc=desc;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getDesc() {
        return desc;
    }
    public void setDesc(String desc) {
        this.desc = desc;
    }

}
